|
Description
The RtvFileConvert utility converts the output from the RTX TimeView logging (.rtv) file to another format, such as that used by the TimeDoctor utility. Input to this program is the output file from TimeView, described in the header file RtxTvLogRecord.h.
The program begins by reading in the TimeView file header, described by a LogHeader structure. This provides information that includes the number of events captured and whether sufficient records were written to cause a roll over. Subsequent TimeView log records are described by a LogRecord structure.
Source Files
RtvFileConvert project source files:
Utility.cpp
defines support functions used by for RtvFileConvert. RtvFileConvert.cpp
contains the application entry point _tmain
and code
used to process the input file. This code can be modified to define custom
event types or to add event types that are not already included in the
SaveText
event switch section. Rtv2Tdi.cpp
contains the TimeDoctor Input (.tdi) format-specific
logic. This includes functions to write each type of .tdi tag and functions
to translate RTX event log records to time doctor tags. NOTE: Most RTX event IDs are included, and serve as examples of how to translate an event to a TimeDoctor tag. Most that are not fully implemented have stub functions with a "//TODO:
" statement, indicating where the translation code should go.
Rtv2Tdi.h
defines the output-format, non-specific event-translation function names used in the RtvFileConvert.cpp
as output-format-specific translation routines implemented in Rtv2Tdi.cpp
.Remarks
The RtvFileConvert utility is available in the <RTXDIR>/tools/Timeview
directory as an .exe binary file, to be run in the Win32 environment.
See Also